#ifndef DOWNLOADTHREAD_H_
#define DOWNLOADTHREAD_H_

#include <Poco/Runnable.h>
using Poco::Runnable;

#include <Poco/Net/ServerSocket.h>
using Poco::Net::ServerSocket;

#include <Poco/File.h>
using Poco::File;

#include <Poco/Net/ServerSocket.h>
using Poco::Net::ServerSocket;
using Poco::UInt16;

#include <Poco/Runnable.h>
using Poco::Runnable;

#include <string>
using std::string;

namespace Commands {

	class DownloadThread: public Runnable
	{
		public:
			DownloadThread(string filename);
			void run();
			
			UInt16 port();
		private:
			ServerSocket _server;
			File _file;
	};

}

#endif /* PUTCOMMAND_H_ */
